Demodulation circuit

ABSTRACT

A circuit and method for demodulating at least one modulated signal (e), such as a measuring signal of a sensor. The circuit comprises at least one input ( 1 ), with the signal (e) being applied to the input ( 1 ), and the input is connected to at least one switched-capacitor network which is configured to demodulate the signal. The circuit permits use even in a small available space.

CROSS REFERENCE TO RELATED APPLICATION

[0001] This is a continuation of international application PCT/DE02/03508, filed Mar. 27, 2003, and which designates the U.S.

BACKGROUND OF THE INVENTION

[0002] The invention relates to a circuit for demodulating at least one modulated signal, preferably a measuring signal of a sensor, the circuit comprising at least one input, with the signal being applied to the input. The invention further relates to a method of demodulating a modulated signal, preferably a measuring signal of a sensor, in particular for operating a demodulation circuit having at least one input, with the signal being applied to the input.

[0003] Circuits for demodulating signals have been known in practical operation for a long time. The signal could be, for example, a measuring signal of a sensor system, which is used to measure distances in a noncontacting manner, as disclosed, for example, in DE 42 25 968 A1 and corresponding U.S. Pat. No. 5,629,619. In this case, the sensor system is an inductive displacement sensor, which is operated at relatively low frequencies in a range from 1 kHz to 10 kHz. The known sensor system comprises a sensor coil that is activated in phase opposition, with a ring overlying it in noncontacting relationship. This ring influences the inductance of the sensor coil corresponding to the position of a test object. In the center of the sensor coil, a plurality of taps are located, which are averaged and amplified with a difference selection amplifier. Since the sensor coil is operated with an ac voltage signal, an ac voltage signal arises at the output of the difference selection amplifier, and in addition a voltage, which corresponds to the actual position of the ring and the transient behavior of the real sensor coil circuit. This signal must now be first demodulated. To this end, the input signal is again multiplied by the carrier frequency. It is then filtered by means of a low-pass filter. In this instance, it is already known to modulate with a sine-wave signal or a square-wave signal, which has a favorable effect in the processing of signals.

[0004] The known modulation is problematic in particular in that the occurring time constants of the filtration are very great, and that the circuit used for this purpose is made relatively large because of its setup and, consequently, is unsuited for an application, which has available only a small space for the circuit.

[0005] It is therefore an object of the present invention to provide both a demodulation circuit and a demodulation method of the initially described type, which enable a use of the circuit even when the available space for the circuit is small.

SUMMARY OF THE INVENTION

[0006] The above and other objects and advantages of the invention are achieved by a circuit and method wherein the demodulation of the signal occurs by at least one switched-capacitor network that connects to the input.

[0007] In accordance with the invention, it has been recognized that by departing from the previous practice, one must realize a miniaturization of the circuit of the art, in order to enable a plurality of applications of the circuit. This is accomplished in that the circuit is configured such that it can be constructed as an integrated circuit, and that an integration in an ASIC is made possible with a comparable transfer function of the known circuit. This is accomplished with the use of a switched-capacitor network that exhibits a satisfactory matching behavior and permits integrating and thus miniaturizing the circuit in particularly simple manner. As a result, it becomes possible to apply the circuit even in a very small space, thus making it universally usable, and to keep down the price of the circuit.

[0008] With respect to a particularly simple configuration, the switched-capacitor network could comprise at least two inputs, and/or at least one switched-capacitor amplifier, and/or at least one switched-capacitor integrator. This would permit a particularly simple setup of the circuit, since these elements exhibit a very satisfactory matching behavior.

[0009] With respect to avoiding parasitic flows, the switched-capacitor integrator could be realized as a negative, undelayed switched-capacitor integrator, and/or could include an amplification of one.

[0010] To further avoid parasitic flows, a first switched-capacitor amplifier could be realized as a positive, delayed amplifier, and/or could multiply two input signals each by at least one factor.

[0011] Furthermore, a second switched-capacitor amplifier could be realized as a positive, delayed switched-capacitor amplifier, and/or could delay the applied input signal by a half cycle of the clock frequency, and/or could have an amplification of one. A third switched-capacitor amplifier could be realized as a positive, delayed switched-capacitor amplifier, and/or could delay the applied input signal unamplified by a half cycle of the clock frequency. A fourth switched-capacitor amplifier could likewise be realized as a positive, delayed switched-capacitor amplifier, and/or could delay the applied input signal unamplified by a half cycle of the clock frequency.

[0012] In addition or as an alternative, a fifth switched-capacitor amplifier could be realized as a positive switched-capacitor amplifier, and/or could delay the applied input signal unamplified by a half cycle of the clock frequency. The applied input signal is the signal that is applied to the input of the respective switched-capacitor amplifier.

[0013] With respect to a particularly simple setup of the circuit, the output of the first switched-capacitor amplifier could be applied to an input of the switched-capacitor integrator. In addition or as an alternative, the output of the switched-capacitor integrator could be applied to a second input of the first switched-capacitor amplifier.

[0014] Furthermore, the output of the second switched-capacitor amplifier could be applied to an input of the third switched-capacitor amplifier. The output of the third switched-capacitor amplifier could now be applied to an input of the fourth switched-capacitor amplifier. In addition or as an alternative the output of the fourth switched amplifier could be applied to an input of the fifth switched-capacitor amplifier.

[0015] Furthermore, the output of the fifth switched-capacitor amplifier could be applied to a second input of the switched-capacitor integrator. In addition or as an alternative, the signal could be applied to a third input of the switched-capacitor integrator. The signal in this instance is the signal that is to be demodulated.

[0016] With respect to storing different values, the switched-capacitor could comprise at least two integrator capacitances. The integrator capacitances could be used, preferably alternately clocked, for storing a previous signal and/or for computing a reflected voltage wave. It would thus be possible to switch the integrator capacitance alternatingly with at least one clock signal. A clocking would enable the circuit to compute the transfer function for the positive clock phase, whereas the old value of the negative clock phase is stored in the integrator capacitance that is not interposed in the signal path. Conversely, this also applies to the negative clock phase. The clock signals used for switching the integrator capacitance have essentially or exactly twice the cycle length of the basic cycle, at which the circuit is operated. In this manner, one is able to use the hardware for computing the positive and the negative clock phase, without realizing different transfer functions. A purposeful layout of the integrator capacitances would permit achieving an especially satisfactory symmetry. The purposeful layout would make it possible to realize the integrator capacitances nearly identical with an error smaller than 0.1%.

[0017] In a further advantageous manner, the switched-capacitor network could comprise a filter arrangement. This filter arrangement could be used to filter the modulated signal for enabling an especially satisfactory digitization.

[0018] With respect to a particularly synchronous demodulation, the filter arrangement could include an n-path lag wave filter that is formed preferably by at least one switched-capacitor amplifier and/or the switched-capacitor integrator.

[0019] As regards a possibility of using the filter arrangement for different applications, for example, for different sensors, the coefficients of the filter arrangement could be digitally programmable, preferably by means of at least one switch. This would permit adapting the circuit to a plurality of sensors.

[0020] In a particularly advantageous manner, programming could occur by adding or disconnecting at least two capacitive components. In a further advantageous manner, the sum of the capacitive components could amount at most to two.

[0021] In a particularly advantageous manner, the switched-capacitor network could include a delay of a half cycle of the clock frequency.

[0022] In a further advantageous manner, the demodulated signal of the positive and negative values of the carrier frequency could be directly added with an additional switched-capacitor network. In addition or as an alternative, the demodulated signal could be adapted for being digitized by means of an A/D converter and/or for being supplied to a controller. This would permit obtaining a demodulated signal in a particularly simple manner.

[0023] The method of the present invention could be used in particular for operating a circuit according to the foregoing description. The method has the advantage that a circuit operated by it can be integrated in a very simple manner because of its excellent matching behavior.

[0024] As regards a particularly satisfactory demodulation and/or digitization, the signal could be filtered by means of a filter arrangement. With respect to the use of the switched-capacitor network for the demodulation, the signal could be converted to a square-wave signal.

[0025] In a further advantageous manner, it would be possible to sample the signal. In a particularly advantageous manner, it would be possible to sample the signal several times. The filtration could now occur by averaging.

[0026] The demodulated signal of the positive and negative values of the carrier frequency could be added by means of a further switched-capacitor network. In addition or as an alternative, the demodulated signal could be digitized by means of an A/D converter, and/or be supplied to a controller.

[0027] Within the scope of a particularly advantageous configuration, the circuit of the present invention could be a programmable switched-capacitor network, which permits demodulating a modulated measuring signal in a synchronous manner. Because of distortions, ripple factors, phase shifts, and phase rotations, as well as electromagnetic compatibility (EMC), it is necessary to filter the measuring signal. For this reason, it is desired to begin with filtering the measuring signal, to convert it to a square-wave signal, and subsequently sample it. As regards a very satisfactory integration, one could use a switched-capacitor filter. For a synchronous demodulation of the measuring signal, one uses an n-path lag wave switched-capacitor filter that can be integrated. To make the lag-wave switched-capacitor filter usable for different sensors, it is possible to adjust the filter coefficients in a digitally programmable way. After the filtration, the measuring signal may be sampled one or more times. In the case of a multisampling, a filtration may occur, for example, by way of averaging. The demodulated signals of the positive and negative values of the carrier frequency may both be directly added with an additional switched-capacitor network and be converted with an A/D converter and further processed by a controller. In both cases the thus-obtained value corresponds to the measured value of the sensor. A further advantage of the circuit according to the invention lies in that the sample-and-hold amplifier may be omitted.

[0028] There exist various possibilities of improving and further developing the teaching of the present invention in an advantageous manner. To this end, one may refer to the following description of preferred embodiments of the demodulation circuit and demodulation method according to the invention with reference to the drawings. In conjunction with the description of the preferred embodiments of the circuit and method of the invention with reference to the drawings, also generally preferred improvements and further developments of the teaching are described.

BRIEF DESCRIPTION OF THE DRAWINGS

[0029]FIG. 1 is a schematic view of signals for operating a known circuit;

[0030]FIG. 2 is a schematic view of a passive reference network of a low-pass circuit;

[0031]FIG. 3 is a schematic view of a wave flow diagram of the low-pass circuit of FIG. 2;

[0032]FIG. 4 is a schematic view of a switched-capacitor realization of a low-pass circuit;

[0033]FIG. 5 is a schematic view of an embodiment of a circuit according to the invention; and

[0034]FIG. 6 illustrates a transfer function of the circuit shown in FIG. 5.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0035]FIG. 1 shows signals for operating a known circuit for measuring distances. The known circuit is activated by an ac voltage and thus permits acquiring by way of measuring, a dc voltage component, which is proportional to the temperature. In the normal operation, i.e., during the measuring step, the ac voltage input signals e_(pos) and e_(neg) as shown in FIG. 1a are used for activating the inputs of the known circuit. To determine the linearly dependent temperature behavior of the circuit and the measuring coil, however, the input signals e_(pos) and e_(neg) shown in FIG. 1b are used. As best seen in FIG. 1b, the input signals e_(pos) and e_(neg) correspond to ac voltages, which are superposed with a dc voltage.

[0036] A known circuit for demodulating a modulated signal e, which corresponds to the measuring signal of the measuring coil, comprises an input 1, which receives the measuring signal e. In accordance with the invention, the demodulation of the measuring signal e occurs by means of a switched-capacitor network 2 that connects to input 1.

[0037]FIG. 2 shows an equivalent passive reference network of a low-pass circuit. This reference network is likewise equivalent to a lag filter circuit. It comprises a voltage divider of resistances R₁ and R₂ and an inductance L connected parallel to the resistance R₂. The transfer function of this filter is that of a lag filter. $\begin{matrix} {{H(p)} = {\frac{R_{1}}{R_{1} + \frac{R_{2}p\quad L}{R_{2} + {p\quad L}}} = \frac{R_{1}\left\lbrack {R_{2} + {p\quad L}} \right\rbrack}{{R_{1}\left\lbrack {R_{2} + {p\quad L}} \right\rbrack} + {R_{2}p\quad L}}}} & (1) \end{matrix}$

[0038] By transforming, one will obtain $\begin{matrix} {{H(p)} = \frac{1 + {p\frac{L}{R_{2}}}}{1 + {{p\left\lbrack {1 + \frac{R_{2}}{R_{1}}} \right\rbrack}\frac{L}{R_{2}}}}} & (2) \end{matrix}$

[0039] with a zero at p=−R₂/L and a pole at p=−R₂/L* 1/(1 +R₂/R₁), and p being the general complex frequency variable.

[0040] It is now possible to prepare a corresponding wave flow diagram, as is shown in FIG. 3. The wave flow diagram comprises a three-gate serial adapter 3 and a three-gate parallel adapter 4. The three-gate parallel adapter 4 is used to interconnect the terminating resistance R₁, the input resistance of the source of voltage, and a gate of three-gate serial adapter 3. The three-gate serial adapter 3 is used for interconnecting the inductance L, an ideal source of voltage with a zero internal resistance, and the link to the three-gate parallel adapter 4.

[0041] The three network elements of the low-pass circuit shown in FIG. 2 are realized as follows: The inductance L, which is series-connected to an ideal source of voltage, is represented by inputting the inductance at gate 4 and an ideal source of voltage at gate 5 of the three-gate serial adapter 3. Since in the case of the ideal source of voltage, the gate resistance is optional, it is selected zero in this special embodiment. According to FIG. 2, the series connection of the elements is parallel to the other elements. For this reason, the gate resistance R₆ equals R₂, thus constituting a nonreflecting connection. Since the resistance R₅ equals zero, it follows therefrom that the resistances R₄ and R₂ are equal. This equality results from the Kirchhoff's laws. Located on the upper side of the three-gate parallel adapter 4 is the wave flow diagram of a resistive source of voltage. Located on the right side of the three-gate parallel adapter 4 is the terminating resistance R₁ and the output of the filter.

[0042] Since wave filters are discrete in time, a new frequency variable ψ is defined in the place of the complex frequency variable by $\begin{matrix} {{\psi = {\frac{z - 1}{z + 1} = {\tanh \left( \frac{pT}{2} \right)}}},{{{with}\quad z} = ^{pT}}} & (3) \end{matrix}$

[0043] where T=1/F is the sampling period and F the sampling frequency. For purely imaginary frequencies, p becomes jω, and with that, ψ becomes jφ $\begin{matrix} {\varphi = {{\tan \left( \frac{\omega \quad T}{2} \right)}.}} & (4) \end{matrix}$

[0044] In this case, the adapter equations for the three-gate serial adapter 3 can be computed as follows:

b ₆ =−a ₁ −a ₂  (5)

and with a₀ =a ₆ −b ₆  (6)

b ₄ =−b ₅ −a ₆  (7)

b ₅ =a ₅−γ₅ a ₀ =a ₅  (8)

[0045] where γ₅=0, and with the incident voltage waves a_(i) and the emergent voltage waves b_(i) for i=4, 5, 6. If one inserts equations 7 and 8 into equation (5) with the definition of the elements, one will obtain

b ₆ =−a ₄ z ⁻¹ −e(1+z ⁻¹)=b ₂  (9)

[0046] As can be noted from equation 9, this expression can also be represented as an external element, which consists of an inductance and a negative source of voltage, whose value represents the reflected voltage value, one time directly and one more time delayed.

[0047] The adapter equations for the three-gate parallel adapter 4 are:

b ₃=γ₁ e=γ ₂ a ₂  (10)

b ₂ =b ₃ −a ₂  (11)

[0048] with the incident voltage waves a_(i) and the emergent voltage waves b_(i) for i=1, 2, 3. Accordingly, the output voltage results from $\begin{matrix} {U = {\frac{a + b}{2} = {\frac{b_{3}}{2} = {\frac{1}{2}{\left( {{\gamma_{1}} + {\gamma_{2}a_{2}}} \right).}}}}} & (12) \end{matrix}$

[0049] To avoid parasitic flows, it is desired that the switched-capacitor network amplify or integrate positively delayed or negatively undelayed. With this technique, different ways of realizing switched-capacitor wave filters are known.

[0050]FIG. 4 shows a switched-capacitor realization of the low-pass circuit or lag filter. The upper switched-capacitor amplifier 5 serves to reproduce equation 10. The signal e and its second input signal a₂ are positively delayed and multiplied by the factors γ₁, γ₂ in accordance with equation 10. In the phase {overscore (φ)} the signals are stored by means of corresponding switches on the input capacitances γ₁ and γ₂, and multiplication occurs with phase φ. The output b₃′ of the switched-capacitor amplifier 5 represents the output of the lag filter.

[0051] Since in accordance with equation 10, the voltage results as an arithmetic mean value from the incident and the reflected voltage wave, the voltage at the output is amplified by the factor two, since the division by the factor two is not carried out—note equation 12. The two factors γ₁ and γ₂ of the equation are reproduced as capacitance ratios in the signal paths. Since these two capacitances are those, which solely determine the frequency behavior, they are each formed from an array of capacitances. Additional digital control lines may be used for interposing the individual capacitances in the signal path and for determining in this way the position of the pole and the zero.

[0052] An undelayed negative switched-capacitor integrator 6 forms the realization of equation 12 and equation 9. By coupling its output signal with switched-capacitor amplifier 5 in phase φ, the feedback loop is closed. The combination of equation 12 and equation 9 results in

b ₂ ′=a ₂ z ⁻¹−γ₁ ez ⁻¹ −γ₂ a ₂ z ⁻¹ −e(1−z ⁻¹)  (13)

[0053] The output value b₂′ is composed of the stored integral value a₂, the negative delayed value of output value b₃(γ_(1e)+γ₂a₂) , and the value −e(1−z ⁻¹). The last term is realized by a negated, nondelaying addition in phase {overscore (φ)} with the input signal e and an undelayed addition in phase φ. Since the undelayed input is to switch with the delayed signal e, it is necessary to present the signal e for selection also in a delayed fashion.

[0054] To this end, a switched-capacitor amplifier 7 is used. In phase {overscore (φ)} the input signal e is switched to one side of the switched-capacitor 7. Since in this phase the switched-capacitor amplifier 7 is inversely fed back by a switch, the virtual mass is located on the other side of the capacitance. In this phase, the input voltage is thus stored on the capacitance. In phase φ, the capacitance is shorted with the output. In this phase, the switched-capacitor integrator 6 samples the output value. Accordingly, the entire circuit permits realizing a lag switched-capacitor filter.

[0055] It is now necessary to realize a clock-synchronous processing of the lag switched-capacitor filter, so that one can differentiate between a leading and a trailing edge.

[0056] A circuit in accordance with the invention for demodulating a signal is shown in FIG. 5. The upper switched-capacitor amplifier 5 corresponds to the switched-capacitor amplifier 5 of the circuit shown in FIG. 4. Likewise in this instance, the signal b₃′ is tapped at the output of this switched-capacitor amplifier 5. The circuit further comprises a switched-capacitor integrator 8. Unlike the switched-capacitor integrator 6 shown in FIG. 4, this switched-capacitor integrator includes two integrator capacitances, which are alternately switched with the clock signals φ₁ and φ₂To also store the delayed signal on the corresponding capacitance, the clocking of the delayed input is changed from φ to {overscore (φ)}. The clocking permits using the circuit of the invention for computing the transfer function for the positive clock phase, while storing the previous value of the negative clock phase on the integrator capacitance that is not switched into the signal path. Conversely, this also applies to the negative clock phase.

[0057] The clock frequencies φ₁ and φ₂ have exactly twice the cycle length of the basic cycle φ. In this manner, one can use the hardware for computing the positive and the negative clock phase, without incurring the risk of realizing different transfer functions.

[0058] The only reason for an asymmetry could be the two integrator capacitances, which are to be realized, however, nearly identical by a purposeful layout. In this instance, the error would be less than 0.1%. A further change of the circuit shown in FIG. 5 from that shown in FIG. 4 is that the delay line is made one cycle longer. This is accomplished by installing three additional delay elements, i.e., a third positively delayed switched-capacitor amplifier 9, as well as positively delayed fourth and fifth switched-capacitor amplifiers 10 and 11, which are clocked at one time with cycle φ and at another time with cycle {overscore (φ)}.

[0059]FIG. 6 illustrates a transfer function of the circuit of FIG. 5. It is quite obvious that the circuit shown in FIG. 5 permits realizing a very suitable n-path lag wave switched-capacitor filter.

[0060] As regards further details, the general description is herewith incorporated by reference for purposes of avoiding repetitions.

[0061] Finally, it should be explicitly remarked that the above described embodiments serve only to explain the claimed teaching, without however limiting it to these embodiments. 

1. A circuit for demodulating at least one modulated signal such as a measuring signal of a sensor, comprising at least one input to which the modulated signal may be applied, and at least one switched-capacitor network connected to the input for demodulating the signal.
 2. The circuit of claim 1, wherein the switched-capacitor network includes at least two inputs (e_(pos), e_(neg)) and/or at least one switched-capacitor amplifier (5, 7, 9, 10, 11) and/or at least one switched-capacitor integrator (6, 8).
 3. The circuit of claim 2, wherein the one switched-capacitor integrator comprises a negative, undelayed switched-capacitor integrator, and/or has an amplification of one.
 4. The circuit of claim 2 wherein a first switched-capacitor amplifier (5) comprises a positive delayed switched-capacitor amplifier, and/or multiplies two input signals each by at least one factor (γ₁, γ₂)
 5. The circuit of claim 4, wherein a second switched-capacitor amplifier (7) comprises a positive delayed switched-capacitor amplifier, and/or delays the applied input signal by a half cycle of a clock frequency, and/or has an amplification of one.
 6. The circuit of claim 5, wherein a third switched-capacitor amplifier (9) comprises a positive delayed switched-capacitor amplifier, and/or delays the applied input signal unamplified by a half cycle of the clock frequency.
 7. The circuit of claim 6, wherein a fourth switched-capacitor amplifier (10) comprises positive delayed switched-capacitor amplifier, and/or delays the applied input signal unamplified by a half cycle of the clock frequency.
 8. The circuit of claim 7, wherein a fifth switched-capacitor amplifier (11) comprises a positive delayed switched-capacitor amplifier, and/or delays the applied input signal unamplified by a half cycle of the clock frequency.
 9. The circuit of claim 2, wherein the output of a first switched-capacitor amplifier (5) is applied to an input of the one switched-capacitor integrator (6, 8).
 10. The circuit of claim 9, wherein the output of the switched-capacitor integrator (6, 8) is applied to a second input of the first switched-capacitor amplifier (5).
 11. The circuit of claim 6 wherein the output of the second switched-capacitor amplifier (7) is applied to an input of the third switched-capacitor amplifier (9).
 12. The circuit of claim 7, wherein the output of the third switched-capacitor amplifier (9) is applied to an input of the fourth switched-capacitor amplifier (10).
 13. The circuit of claim 8, wherein the output of the fourth switched-capacitor amplifier (10) is applied to an input of the fifth switched-capacitor amplifier (11).
 14. The circuit of claim 8, wherein the output of the fifth switched-capacitor amplifier (11) is applied to a second input of the switched-capacitor integrator (6, 8).
 15. The circuit of claim 14, wherein the signal is applied to a third input of the switched-capacitor integrator (6, 8).
 16. The circuit of claim 14 wherein the switched-capacitor integrator (8) includes at least two integrator capacitances.
 17. The circuit of claim 16, wherein the two integrator capacitances are used, for storing a previous signal and/or computing the reflected voltage wave.
 18. The circuit of claim 2, wherein the switched-capacitor network comprises a filter arrangement.
 19. The circuit of claim 18, wherein the filter arrangement comprises an n-path lag wave filter that is formed by at least one of the switched-capacitor amplifiers (5, 7, 9, 10, 11) and/or the switched-capacitor integrator (6, 8).
 20. The circuit of claim 18 wherein the coefficients of the filter arrangement are digitally programmable by means of at least one switch.
 21. The circuit of one of claim 1 further comprising a further switched-capacitor network whereby the demodulated signal of positive and negative values of a carrier frequency can be added.
 22. A method of demodulating a modulated measuring signal of a sensor comprising the steps of applying the signal to an input of a switched-capacitor network and operating the network so as to demodulate the signal.
 23. The method of claim 22, wherein the signal is filtered by means of a filter arrangement.
 24. The method of claim 22, wherein the signal is converted to a square-wave signal.
 25. The method of claim 22, wherein the signal is sampled at least once.
 26. The method of claim 22, comprising the further step of adding positive and negative values of a carrier frequency of the demodulated signal by means of a further switched-capacitor network. 